/**
 * Created by liujz on 3/6/17.
 */
const Klass = require("./klass.js").Klass;
const Student = require("./student").Student;

function studentTest(){
    const student = new Student('Tom', '21', new Klass(2));
    const expectResult = 'My name is Tom. I am 21 years old. I am a Student. I am at Class 2.';
    if(student.introduce() === expectResult){
        console.log('test passed');
    }else{
        console.log('test failed');
    }
}

studentTest();

